<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form,panel:panel}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_INJURY_QUERY">
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
			<epl-userMessage dataType="person" isCodeType idCount="10" :panel="panel">
            </epl-userMessage>                
            <el-form :model="form" ref="form" :rules="rules">
        	<el-card class="ep-card">
            <ep-title>请输入工伤认定信息</ep-title>
                    <ep-date colspan="8" label="工伤发生时间" name="alc020H" :property="form.alc020H" placeholder=""
                                  p="H"  type="date" format="yyyy-MM-dd"  ></ep-date>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="工伤认定书编号" name="alc011" :property="form.alc011" placeholder=""
                                  p="D"  ></ep-input>
                        <ep-date colspan="8" label="工伤发生时间" name="alc020"    :property="form.alc020" placeholder="请选择工伤发生时间"
                                  p="R" :datas="{formData:form,panel:panel}" type="date" format="yyyy-MM-dd"  isChange></ep-date>
                        <ep-date colspan="8" label="工伤认定日期"  name="alc031"    :property="form.alc031" placeholder="请选择工伤认定日期"
                                  p="R"  type="date" format="yyyy-MM-dd"  :datas="{formData:form,panel:panel}" isChange></ep-date></el-row>
                   
                    <el-row :gutter="10">
                        <ep-date colspan="8" label="工伤报告日期"  name="alc026" :property="form.alc026" placeholder="请选择工伤报告日期"
                                  p="E"  type="date" format="yyyy-MM-dd"  :datas="{formData:form,panel:panel}" isChange></ep-date>
                        <ep-date colspan="8" label="工伤认定申请日期"  name="aae127"    :property="form.aae127" placeholder="请选择工伤认定申请日期"
                                  p="R"  type="date" format="yyyy-MM-dd"  :datas="{formData:form,panel:panel}" isChange></ep-date>
                        <ep-select colspan="8" label="工伤认定结论" name="ala015"    :property="form.ala015" placeholder="请选择工伤认定结论"
                                  p="R" :datas="{formData:form}" codetype="ALA015"  isChange></ep-select></el-row>       

                    <el-row :gutter="10">
                        <ep-select colspan="16" label="认定依据类别" name="ala016"    :property="form.ala016" placeholder="请选择认定依据类别"
                                  p="R"  codetype="ALA016"  ></ep-select>
                        <ep-select colspan="8" label="工伤认定机构" name="alc030"    :property="form.alc030" placeholder="请选择工伤认定机构"
                                  p="R" :datas="{formData:form}" codetype="ALC030" ></ep-select></el-row>
					<el-row :gutter="10">
                        
                        <ep-select colspan="8" label="事故类别" name="ala028"    :property="form.ala028" placeholder="请选择事故类别"
                                  p="R"  codetype="ALA028" ></ep-select>
                        <ep-select colspan="8" label="工伤类别" name="alc027"    :property="form.alc027" placeholder="请选择工伤类别"
                                  p="R"  codetype="ALC027" ></ep-select>
						<ep-select colspan="8" label="伤害程度" name="alc021"    :property="form.alc021" placeholder="请选择伤害程度"
                                  p="R"  codetype="ALC021" ></ep-select>          
                                  
                    </el-row>    
                    <el-row :gutter="10">
						
                    </el-row>
                    <el-row :gutter="10">
					<ep-textarea colspan="24" label="伤害部位描述" name="alc022" :property="form.alc022" placeholder="请输入伤害部位描述"
                                  p="E" :rows="3"></ep-textarea>
					</el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="伤害部位1" name="alc042"   :property="form.alc042" placeholder="请选择伤害部位"
                                  p="R" codetype="ALC042" :datas="{formData:form,panel:panel}" isChange isCodeType></ep-select>
                        <ep-select colspan="8" label="伤害部位2" name="alc043" :property="form.alc043" placeholder="请选择伤害部位"
                                  p="E" codetype="ALC043" :datas="{formData:form,panel:panel}" isChange isCodeType
                                  SelectFilterData=" aaa102 = ':alc042' "></ep-select>
                        <ep-select colspan="8" label="伤害部位3" name="alc044" :property="form.alc044" placeholder="请选择伤害部位"
                                  p="E" codetype="ALC044" :datas="{formData:form,panel:panel}" isChange isCodeType
                                  SelectFilterData=" aaa102 = ':alc043' "></ep-select></el-row>    
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="伤害部位4" name="alc046" :property="form.alc046" placeholder="请选择伤害部位"
                                  p="E" codetype="ALC046" :datas="{formData:form,panel:panel}" isChange isCodeType
                                  SelectFilterData=" aaa102 = ':alc044' "></ep-select>
                        <ep-select colspan="8" label="伤害部位5" name="alc047" :property="form.alc047" placeholder="请选择伤害部位"
                                  p="E" codetype="ALC047" SelectFilterData=" aaa102 = ':alc046' "></ep-select>
                        <ep-select colspan="8" label="职业(工种)" name="aca111"    :property="form.aca111" placeholder="请输入职业"
                                  p="R"  codetype="ACA111" ></ep-select></el-row>                      
                    
					<el-row :gutter="10">
                        <ep-date colspan="8" label="接触职业病危害日期" name="blc150" :property="form.blc150" :placeholder="form.blc150.placeholder"
                                  p="D"  type="date" format="yyyy-MM-dd"  :datas="{formData:form,panel:panel}" isChange></ep-date>
                        <ep-input colspan="8" label="接触职业病危害月数" name="alc048" :property="form.alc048" :placeholder="form.alc048.placeholder"
                                  p="D" ></ep-input>
                        <ep-select colspan="8" label="职业病名称1" name="ala017" :property="form.ala017" :placeholder="form.ala017.placeholder"
                                  p="D"  codetype="ALA017" :datas="{formData:form,panel:panel}" isChange isCodeType></ep-select></el-row> 
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="职业病名称2" name="ala029" :property="form.ala029" :placeholder="form.ala029.placeholder"
                                  p="D"  codetype="ALA029"
                                  SelectFilterData=" aaa102 = ':ala017' "></ep-select>
                        <ep-date colspan="8" label="因工死亡日期"  name="alc040" :property="form.alc040" :placeholder="form.alc040.placeholder"
                                      p="D"  type="date" format="yyyy-MM-dd" :datas="{formData:form,panel:panel}" isChange></ep-date>
                        <ep-select colspan="8" label="老工伤标识" name="bae476" :property="form.bae476" placeholder=""
                                  p="D" codetype="BAE476"></ep-select>              
                                      </el-row>
                    <el-row :gutter="10">
                        
                        <ep-textarea colspan="24" label="伤害事件情况" name="alc006" :property="form.alc006" placeholder="请输入伤害事件情况"
                                  p="E"  :rows="3"></ep-textarea>
                    </el-row>
					<el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"  @formValidate="formValidate" 
                                    :validate="['form']"   :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                    </el-row>
                </el-card>
                </el-form>
        </el-main>
    </el-main>
</template>


<script src="../js/InjuryCognizanceAlterJS.js"></script>
